projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68824e8
)
gtk: Register GSK resources at startup
author
Benjamin Otte
<otte@redhat.com>
Wed, 18 Jan 2017 21:41:20 +0000
(22:41 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 20 Jan 2017 00:19:02 +0000
(
01:19
+0100)
That way they show up in the resource list in the inspector even when
running with the Cairo renderer.
gtk/gtkmain.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmain.c
b/gtk/gtkmain.c
index 31df09e907e0c4730657e7144caf02db79a99910..6aaee9e287fd25ad2167731633ffb742c5e10536 100644
(file)
--- a/
gtk/gtkmain.c
+++ b/
gtk/gtkmain.c
@@
-92,6
+92,7
@@
#include "gdk/gdk.h"
#include "gdk/gdk-private.h"
+#include "gsk/gskprivate.h"
#include <locale.h>
@@
-652,6
+653,7
@@
do_post_parse_initialization (void)
gtk_widget_set_default_direction (gtk_get_locale_direction ());
+ gsk_ensure_resources ();
_gtk_ensure_resources ();
_gtk_accel_map_init ();